package com.hznu.jspFinal.service;

import com.hznu.jspFinal.entity.CourseTeacher;

import java.util.List;

/**
 * author:wp
 */
public interface CourseTeacherService {

    int addOne(CourseTeacher courseTeacher);

    int update(CourseTeacher courseTeacher);

    int delete(Integer id);

    CourseTeacher findById(Integer id);

    List<CourseTeacher> findByTeacherid(Integer id);

    List<CourseTeacher> selectByCourseIdAndTeachId(Integer courseid,Integer teacherid);


}
